﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RestFulService
{
    //扫描点餐 返回 门店信息+已点菜品
    public class CocoOrdList
    {
        /// <summary>
        /// 
        /// </summary>
        public string code { get; set; }
        /// <summary>
        /// 成功
        /// </summary>
        public string msg { get; set; }

        public string storeid { get; set; }

        public string storename { get; set; }

        public string teleno { get; set; }

        public string address { get; set; }

        public string pictureurl { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public List<Content> content { get; set; }

        public class Content
        {

            /// <summary>
            /// 
            /// </summary>
            public int itemseq { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string customerCode { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string foodName { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal qty { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public decimal finalPrice { get; set; }
            /// <summary>
            /// 小计前折扣
            /// </summary>
            public decimal beforeDiscAmt { get; set; }
            /// <summary>
            /// 小计后折扣
            /// </summary>
            public decimal afterDiscAmt { get; set; }
            /// <summary>
            /// 实际销售金额
            /// </summary>
            public decimal DiscAMT { get; set; }

            public decimal saleAmt { get; set; }
            /// <summary>
            /// 口味名称
            /// </summary>
            public string TasteMemo { get; set; }

        }
    }
}
